from sqlalchemy.orm import Mapped, mapped_column
from sqlalchemy import Boolean, String
from core.db import Base

class App02(Base):
    __tablename__ = "app02"

    id: Mapped[int] = mapped_column(primary_key=True)
    name: Mapped[str] = mapped_column(
        String(length=320), unique=True, index=True, nullable=False
    )
    is_active: Mapped[bool] = mapped_column(Boolean, default=True, nullable=False)


# Base.metadata.create_all(engine)
